TARGET = make

OBJ_DRAW = objectdraw/Object.o
OBJ_DRAW += objectdraw/Resizable2DInterface.o
OBJ_DRAW += objectdraw/Types.o
OBJ_DRAW += objectdraw/Color.o
OBJ_DRAW += objectdraw/Drawing.o
OBJ_DRAW += objectdraw/DrawingCanvas.o
OBJ_DRAW += objectdraw/FilledRect.o
OBJ_DRAW += objectdraw/FramedRect.o
OBJ_DRAW += objectdraw/Image.o
OBJ_DRAW += objectdraw/Line.o
OBJ_DRAW += objectdraw/Text.o
OBJ_DRAW += objectdraw/Functions.o
OBJ_DRAW += objectdraw/objectdraw.o

DRAWING_OBJS += Drawing/ScrollingMenu/ScrollingMenu.o
DRAWING_OBJS += Drawing/WordWrapTextBox/WordWrapTextBox.o

OBJS = main.o Libs/MyFunctions.o controls.o Bible.o $(OBJ_DRAW) $(DRAWING_OBJS) 

INCDIR = 
CFLAGS = -O2 -G0 -Wall
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)

LIBDIR =
LDFLAGS =

LIBS = -losl -lpng -lz \
	-lpspsdk -lpspctrl -lpspumd -lpsprtc -lpsppower \
	-lpspgu -lpspaudiolib -lpspaudio -lm \
	-lstdc++ 

EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = PSP Bible
PSP_EBOOT_ICON = Images/Bible_Icon0.png

PSPSDK=$(shell psp-config --pspsdk-path)
include $(PSPSDK)/lib/build.mak
